/**
 * @description 组件样式
 * @author: 陈陈
 * @date: 2025/05/09
 * @phone: 18560000860
 * @email: 18560000860@qq.com
 * @company: 济南晨霜信息技术有限公司 /
 * @business: 承接前后端项目的开发
 */
.pure-stepper {
	display: inline-flex;
	flex-direction: row;
	gap: var(--pure-stepper-gap, 4px);
	width: var(--pure-stepper-width, 8em);
	height: var(--pure-stepper-height, 2em);
	text-align: var(--pure-stepper-text-align, center);
	border-radius: var(--pure-stepper-border-radius);

	&__button {
		width: var(--pure-stepper-button-width, var(--pure-stepper-button-size, var(--pure-stepper-height, 2em)));
		height: var(--pure-stepper-button-height, var(--pure-stepper-button-size, var(--pure-stepper-height, 2em)));
		background: var(--pure-stepper-button-background, var(--pure-theme-primary));
		flex-shrink: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		border-radius: var(
			--pure-stepper-button-border-radius,
			var(--pure-stepper-border-radius, var(--pure-radius-small))
		);
		color: var(--pure-stepper-button-color, var(--pure-text-color-invert));
		font-size: var(--pure-stepper-button-font-size);
		font-weight: var(--pure-stepper-button-font-weight);
		line-height: 1;

		&--disabled {
			background: var(
				--pure-stepper-button-disabled-background,
				var(--pure-stepper-button-background, var(--pure-theme-primary))
			);
			opacity: var(--pure-stepper-button-disabled-opacity, var(--pure-opacity-disabled));
			pointer-events: none;
		}
	}

	&__content {
		flex: 1;
		background: var(--pure-stepper-content-background, var(--pure-border-color-deep));
		border-radius: var(
			--pure-stepper-centent-border-radius,
			var(--pure-stepper-border-radius, var(--pure-radius-small))
		);
	}

	&__input {
		width: 100%;
		height: 100%;
		border: none;
		outline: none;
		background: transparent;
		font-size: var(--pure-stepper-input-font-size);
		font-weight: var(--pure-stepper-input-font-weight);
		color: var(--pure-stepper-input-color);
	}

	&--disabled {
		opacity: var(--pure-stepper-disabled-opacity, var(--pure-opacity-disabled));
		pointer-events: none;
	}

	&--readonly {
		pointer-events: none;
	}
}
